-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Add Fantom test for backgroundImage parsing #54185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
+2,398
−247
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4a54b00 to
3086068
Compare
javache
added a commit
to javache/react-native
that referenced
this pull request
Oct 17, 2025
Summary: Pull Request resolved: facebook#54185 Validate that the changes in D83341309 work across both experiment variants. Changelog: [Internal] Differential Revision: D84924308
3086068 to
972036d
Compare
javache
added a commit
to javache/react-native
that referenced
this pull request
Oct 20, 2025
Summary: Pull Request resolved: facebook#54185 Validate that the changes in D83341309 work across both experiment variants. Changelog: [Internal] Differential Revision: D84924308
javache
added a commit
to javache/react-native
that referenced
this pull request
Oct 20, 2025
Summary: Pull Request resolved: facebook#54185 Validate that the changes in D83341309 work across both experiment variants. Changelog: [Internal] Differential Revision: D84924308
972036d to
e5681a5
Compare
Summary: This PR adds native CSS parser for `backgroundImage` property. Currently, it supports linear-gradient and radial-gradient spec compliant CSS syntax. ## Changelog: [GENERAL] [ADDED] - background image native parser. <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests Pull Request resolved: facebook#53609 Test Plan: - Replicated existing testcases from JS. Currently i've added CSS syntax testcases. Checkout `CSSBackgroundImageTest.cpp` ### Verify example screens in RNTester - Set `enableNativeCSSParsing` to true in `ReactNativeFeatureFlags.config.js` and run `yarn featureflags --update` - Rebuild the project and verify `LinearGradientExample` and `RadialGradientExample` screens on both platforms. ### Notes - Currently it is difficult to run CSS renderer tests. I made a custom cmake config to get it working, some steps would be helpful. - Right now the new CSS renderer seems to be only working on iOS. NickGerleman mentioned there is some WIP to get it working on android. So please test this PR on iOS. Differential Revision: D83341309 Pulled By: javache
Summary: Pull Request resolved: facebook#54185 Validate that the changes in D83341309 work across both experiment variants. Changelog: [Internal] Reviewed By: andrewdacenko Differential Revision: D84924308
e5681a5 to
bb2bea2
Compare
|
This pull request has been merged in bc90648. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLA Signed
This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
fb-exported
Merged
This PR has been merged.
meta-exported
p: Facebook
Partner: Facebook
Partner
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary:
Validate that the changes in D83341309 work across both experiment variants.
Changelog: [Internal]
Differential Revision: D84924308